home *** CD-ROM | disk | FTP | other *** search
- Path: news.ichange.com!newsmaster
- From: Jesse Liberty <jl@staff.ichange.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Please please help a newbie!
- Date: Thu, 15 Feb 1996 07:57:34 -0500
- Organization: AT&T
- Message-ID: <31232DBE.5A69@staff.ichange.com>
- References: <4ftoe8$5a2@pacifica.access.ch>
- NNTP-Posting-Host: 140.244.99.60
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win95; I)
- CC: jl@staff.ichange.com
-
- Thomas Beck wrote:
- > I extracted the following two problems:
- >
- > ----------- example 1: -------------
- > int i;
- > int & a=i;
- >
- > main() {
- > }
- > --------------------------------------------
- > If your example is right, the problem is that you have the first two lines floating out in space. Try this:
-
- int i;
- int & a=i;
-
- main()
- {
- int i;
- int & a=i;
- }
-
- That will compile (thought it won't do much). You need an introductory book which assumes no prior C experience. Pardon me
- if I recommend my book "Teach Yourself C++ In 21 Days"
-
-
- --
- Jesse Liberty jl@staff.ichange.com
- AT&T CIS: 72241,72
-